//
//  HomeCell.m
//  体育
//
//  Created by  on 2022/10/23.
//

#import "HomeCell.h"
@interface HomeCell()
@property (strong, nonatomic) IBOutlet FavoriteView *favoriteView;
@end
@implementation HomeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)actionForBtnn:(UIButton *)sender {
    sender.selected = !sender.selected;
}
- (void)setModel:(Record *)model{
    _model = model;
    self.favoriteView.model = model;
}
@end
